using System.Collections.ObjectModel;

namespace SharePoint.DataMapper
{
	public class ItemCollection<T> : KeyedCollection<int, T>
		where T : IItemBase
	{
		protected override int GetKeyForItem(T item)
		{
			return item.Id;
		}
	}
}